package com.dev.ac.common;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 付
 * @Date 2024-04-21 17:28
 * @Version 1.0
 * @description 学生excel模板
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentTemplate {
	@ExcelProperty(value = "编号", index = 0)
	@ColumnWidth(20)
	private double id;
	@ExcelProperty(value = "学号", index = 1)
	@ColumnWidth(20)
	private Long username;
	@ExcelProperty(value = "姓名", index = 2)
	@ColumnWidth(20)
	private String nickname;
	@ExcelProperty(value = "学院", index = 3)
	@ColumnWidth(20)
	private String department;
	@ExcelProperty(value = "地址", index = 4)
	@ColumnWidth(20)
	private String address;

	@ExcelProperty(value = "邮箱", index = 5)
	@ColumnWidth(20)
	private String email;
	@ExcelProperty(value = "学校", index = 6)
	@ColumnWidth(20)
	private String school;
}
